package com.qf.shiro2302.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qf.shiro2302.entity.User;

import java.util.List;

public interface UserService extends IService<User> {


    void register(String username, String password) throws Exception;

    List<String> getRolesFromDB(User user);

    List<String> getPermissionsFromDB(User user);

    List<String> getRolesFromDBbyMp(User user);

    List<String> getPermissionsFromDBbyMp(User user);

}
